package ruifight.member.service.impl;

import org.springframework.stereotype.Service;

import ruifight.member.dao.MemberInfoMapper;
import ruifight.member.model.MemberInfo;
import ruifight.member.model.MemberInfoExample;
import ruifight.member.service.MemberInfoService;
import ruifight.member.service.base.BaseServiceImpl;

import javax.annotation.Resource;

@Service
public class MemberInfoServiceImpl extends BaseServiceImpl<MemberInfo, MemberInfoExample, Long> implements MemberInfoService {

    @Resource
    private MemberInfoMapper memberInfoMapper;

    public int getSurplusIntegral(){
        return memberInfoMapper.getSurplusIntegral();
    }

}
